home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / medical / mendelge.cpt / MendelGenetics / MENDELIAN GENETICS I / card_99161.txt < prev    next >
Text File  |  1989-06-13  |  7KB  |  283 lines

  1. -- card: 99161 from stack: in
  2. -- bmap block id: 100494
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0002
  11. -- rect: left=288 top=22 right=46 bottom=348
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: F1
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 00
  24. -- high flags: 0002
  25. -- rect: left=288 top=48 right=72 bottom=348
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 3
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: F2
  34.  
  35.  
  36. -- part 3 (field)
  37. -- low flags: 00
  38. -- high flags: 0002
  39. -- rect: left=288 top=74 right=98 bottom=348
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 0
  43. -- font id: 3
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: F3
  48.  
  49.  
  50. -- part 4 (field)
  51. -- low flags: 00
  52. -- high flags: 0002
  53. -- rect: left=288 top=100 right=124 bottom=348
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 0 / 0
  56. -- text alignment: 0
  57. -- font id: 3
  58. -- text size: 12
  59. -- style flags: 0
  60. -- line height: 16
  61. -- part name: F4
  62.  
  63.  
  64. -- part 5 (field)
  65. -- low flags: 00
  66. -- high flags: 0002
  67. -- rect: left=287 top=127 right=151 bottom=347
  68. -- title width / last selected line: 0
  69. -- icon id / first selected line: 0 / 0
  70. -- text alignment: 0
  71. -- font id: 3
  72. -- text size: 12
  73. -- style flags: 0
  74. -- line height: 16
  75. -- part name: F5
  76.  
  77.  
  78. -- part 6 (field)
  79. -- low flags: 00
  80. -- high flags: 0002
  81. -- rect: left=288 top=153 right=177 bottom=348
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 0 / 0
  84. -- text alignment: 0
  85. -- font id: 128
  86. -- text size: 10
  87. -- style flags: 256
  88. -- line height: 13
  89. -- part name: F6
  90.  
  91.  
  92. -- part 7 (field)
  93. -- low flags: 00
  94. -- high flags: 0002
  95. -- rect: left=288 top=180 right=204 bottom=348
  96. -- title width / last selected line: 0
  97. -- icon id / first selected line: 0 / 0
  98. -- text alignment: 0
  99. -- font id: 3
  100. -- text size: 12
  101. -- style flags: 0
  102. -- line height: 16
  103. -- part name: F7
  104.  
  105.  
  106. -- part 8 (field)
  107. -- low flags: 00
  108. -- high flags: 0002
  109. -- rect: left=288 top=207 right=231 bottom=348
  110. -- title width / last selected line: 0
  111. -- icon id / first selected line: 0 / 0
  112. -- text alignment: 0
  113. -- font id: 3
  114. -- text size: 12
  115. -- style flags: 0
  116. -- line height: 16
  117. -- part name: F8
  118.  
  119.  
  120. -- part 9 (field)
  121. -- low flags: 00
  122. -- high flags: 0002
  123. -- rect: left=288 top=234 right=258 bottom=348
  124. -- title width / last selected line: 0
  125. -- icon id / first selected line: 0 / 0
  126. -- text alignment: 0
  127. -- font id: 3
  128. -- text size: 12
  129. -- style flags: 0
  130. -- line height: 16
  131. -- part name: F9
  132.  
  133.  
  134. -- part 10 (button)
  135. -- low flags: 00
  136. -- high flags: 8003
  137. -- rect: left=267 top=316 right=338 bottom=367
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 0 / 0
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: CLEAR
  146. ----- HyperTalk script -----
  147. on mouseUp
  148.   delete line 1 of card field f1
  149.   delete line 1 of card field f2
  150.   delete line 1 of card field f3
  151.   delete line 1 of card field f4
  152.   delete line 1 of card field f5
  153.   delete line 1 of card field f6
  154.   delete line 1 of card field f7
  155.   delete line 1 of card field f8
  156.   delete line 1 of card field f9
  157.   get the location of card field f1
  158.   click at it
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 11 (button)
  164. -- low flags: 00
  165. -- high flags: 8003
  166. -- rect: left=378 top=316 right=338 bottom=478
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 0 / 0
  169. -- text alignment: 1
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: CALCULATE
  175. ----- HyperTalk script -----
  176. on mouseUp
  177.   set numberFormat to "00.000"
  178.   put the value of sqrt((card field f1 * card field f2) / (card field f3)) into card field f6
  179.   put the value of (card field f1 - card field f4) into card field f7
  180.   put the value of (card field f2 - card field f5) into card field f8
  181.   put the value of (1.96 * card field f6) into card field f9
  182. end mouseUp
  183.  
  184.  
  185.  
  186. -- part 12 (button)
  187. -- low flags: 00
  188. -- high flags: 8003
  189. -- rect: left=205 top=315 right=337 bottom=256
  190. -- title width / last selected line: 0
  191. -- icon id / first selected line: 0 / 0
  192. -- text alignment: 1
  193. -- font id: 0
  194. -- text size: 12
  195. -- style flags: 0
  196. -- line height: 16
  197. -- part name: NEXT
  198. ----- HyperTalk script -----
  199. on mouseUp
  200.   go to next card
  201. end mouseUp
  202.  
  203.  
  204.  
  205. -- part 13 (button)
  206. -- low flags: 00
  207. -- high flags: 8003
  208. -- rect: left=149 top=314 right=337 bottom=199
  209. -- title width / last selected line: 0
  210. -- icon id / first selected line: 0 / 0
  211. -- text alignment: 1
  212. -- font id: 0
  213. -- text size: 12
  214. -- style flags: 0
  215. -- line height: 16
  216. -- part name: PREV.
  217. ----- HyperTalk script -----
  218. on mouseUp
  219.   go back
  220. end mouseUp
  221.  
  222.  
  223.  
  224. -- part contents for background part 1
  225. ----- text -----
  226. STANDARD DEVIATION #1
  227.  
  228. -- part contents for background part 2
  229. ----- text -----
  230. Suppose you self two Drosophila flies heterozygous for brown eyes. You would expect a 3:1 phenotypic ratio of wild vs brown in the F1. Suppose however out of 50 flies, you observe 20 that are brown and  30 that are wild. Is this the sort of spread you could reasonably expect if the phenotypic spread anticipated 37.5 wild and 12.5 brown (the expected   3:1 ratio)?  Click on the CLEAR button and then assign the expected phenotypic frequencies to the values p and q. If p is the wild frequency then the expected value should be 0.75 of the total and the q frequency  0.25 of the total. Now, enter those figures into the boxes on the right and test the above data against those expectations. The correct answer is given below. Scroll to the point where it appears.
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237. The answers should take these values:
  238.  
  239.    Standard deviation =  0.061
  240.    obs p - exp p        =  0.15 
  241.    obs q - exp q        = -0.15
  242.    1.96 stand. dev.    =   0.120
  243. Did your calculation coincide with this. If not, did you enter observed p and q frequencies or the actual observed values? If your data did coincide with the answers given, then your data spread does not fit the spread of a normal distribution. The value is well beyond two standard deviations from the mean. Although this card allows you to compare sampled data against an expected spread, its value for our purposes is limited. Sometimes it is useful to determine what the standard deviation of a normal distribution is in an effort to learn something about the spread of the curve. That computation can be made on the next card. If you wish to analyze data in this fashion, flip to it.
  244.  
  245. -- part contents for background part 8
  246. ----- text -----
  247. 44
  248.  
  249. -- part contents for card part 1
  250. ----- text -----
  251. .75
  252.  
  253. -- part contents for card part 2
  254. ----- text -----
  255. .25
  256.  
  257. -- part contents for card part 3
  258. ----- text -----
  259. 50
  260.  
  261. -- part contents for card part 4
  262. ----- text -----
  263. .60
  264.  
  265. -- part contents for card part 6
  266. ----- text -----
  267. 00.061
  268.  
  269. -- part contents for card part 5
  270. ----- text -----
  271. .40
  272.  
  273. -- part contents for card part 7
  274. ----- text -----
  275. 00.150
  276.  
  277. -- part contents for card part 8
  278. ----- text -----
  279. -0.150
  280.  
  281. -- part contents for card part 9
  282. ----- text -----
  283. 00.120